package com.realjinge.entity;

import java.io.Serializable;

/**
 * 
 * @author realjinge
 *
 */
public class Type implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;
	private String typeCode;
	private String typeName;
	private String typeDesc;

	public Type() {

	}

	public Type(String typeCode, String typeName, String typeDesc) {
		this.typeCode = typeCode;
		this.typeName = typeName;
		this.typeDesc = typeDesc;
	}

	public Type(Integer id, String typeCode, String typeName, String typeDesc) {
		this.id = id;
		this.typeCode = typeCode;
		this.typeName = typeName;
		this.typeDesc = typeDesc;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getTypeDesc() {
		return typeDesc;
	}

	public void setTypeDesc(String typeDesc) {
		this.typeDesc = typeDesc;
	}

	@Override
	public String toString() {
		return "Type [id=" + id + ", typeCode=" + typeCode + ", typeName=" + typeName + ", typeDesc=" + typeDesc + "]";
	}

}
